﻿@model etracks.Web.CourseRegistrationViewModel

@using (Html.BeginForm("Registration", "Course", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="form-group">
        <label for="input_name" class="col-sm-2 control-label">Course Name</label>
        <div class="col-sm-8">
            <input type="text" class="form-control" id="input_name" name="name" placeholder="eg. English" value="@Model.Name">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-8">
            <button type="submit" class="btn btn-default">Register</button>
        </div>
    </div>
}